import React, { Component } from "react";
import { withRouter, NavLink } from "react-router-dom";
// import { observer, inject } from "mobx-react";
// @withRouter
// @inject("own")
// @observer
class side extends Component {
  render() {
    return (
      // <ul className="own_side ot">
      //   {this.props.own.data.length > 0 &&
      //     this.props.own.data.map((val, index) => {
      //       return <li key={index}>{val.source}</li>;
      //     })}
      // </ul>
      <React.Fragment>
        <div className="own_tx">
          <img src={require("../../images/foot_d.png").default} alt="" />
          <b>耿云娇</b>
          <span>13556877920</span>
        </div>
        <ul className="own_tab">
          <li>
            <NavLink to="/own/wei">
              <i></i>
              <span>微课管理</span>
            </NavLink>
          </li>
          <li>
            <NavLink to="/own/jiao">
              <i></i>
              <span>教学统计</span>
            </NavLink>
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>收益总览</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>我的名师</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>我的课程</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>我的账户</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>我的优惠</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>个人设置</span>
            {/* </NavLink> */}
          </li>
          <li>
            {/* <NavLink> */}
            <i></i>
            <span>安全中心</span>
            {/* </NavLink> */}
          </li>
        </ul>
        <div className="own_bto">
          <img src={require("../../images/own_bto.jpg").default} alt="" />
        </div>
      </React.Fragment>
    );
  }
}

export default side;
